﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once

#include "IEventArgs.h"

namespace gcmp
{
    class INotification;

    /// \brief 弱提示事件参数的接口类，将相关参数传递给弱提示事件处理者
    ///
    /// 提供了获取弱提示的接口
    class INotificationEventArgs : public IEventArgs
    {
        DEFINE_CAST_DERIVED(gcmp::INotificationEventArgs, gcmp::IEventArgs);
    public:

        /// \brief 获取弱提示的指针
        /// \return 返回弱提示的指针
        virtual const INotification* GetNotification() const = 0 ;
    };
}
